package com.hr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * 角色表(Role)表实体类
 *
 * @author makejava
 * @since 2022-04-19 10:06:42
 */
@SuppressWarnings("serial")
@TableName("role")
public class Role extends Model<Role> {
    //角色ID
    @TableId(type = IdType.AUTO,value = "r_id")
    private Integer rid;
    //角色名称
    @TableField("r_name")
    private String rname;
    //角色说明
    @TableField("r_desc")
    private String rdesc;
    //是否禁用(0 否-默认 1 是)
    @TableField("is_disable")
    private Integer isDisable;

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }

    public String getRdesc() {
        return rdesc;
    }

    public void setRdesc(String rdesc) {
        this.rdesc = rdesc;
    }

    public Integer getIsDisable() {
        return isDisable;
    }

    public void setIsDisable(Integer isDisable) {
        this.isDisable = isDisable;
    }
}

